Example
You define a rspc
router and attach procedures to it like below. This will be very familiar if you have used trpc or GraphQL before.
let router = new
.query
.mutation;
Features:
- Per Request Context - Great for database connection & authentication data
- Middleware - With support for context switching
- Merging routers - Great for separating code between files
Inspiration
This project is based off trpc and was inspired by the bridge system Jamie Pine designed for Spacedrive. A huge thanks to everyone who helped inspire this project!